<template>
    <div class="app-footer">{{ msg }}</div>
</template>

<script>
// import bus from '../bus/index';

export default {
  name: 'app-footer',
  data() {
    return {
      msg: 'hello,world',
    };
  },
  beforeCreate() {
    // bus.$on('明天吃火锅', (addr) => {
    //   console.log(`明天吃火锅,地址在${addr},晚上七点不见不散`);
    // });
  },
  mounted() {

  },
};
</script>

<style scoped>
.app-footer{
  position: fixed;
  left:0;
  bottom: 0;
  right: 0;
  color: #fff;
  background: cadetblue;
  line-height: 60px;
  text-align: center;
}
</style>
